<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>渠道组册</title>
    <!-- 在线引入 -->
    <link rel="stylesheet" href="//unpkg.com/layui@2.6.8/dist/css/layui.css">
</head>
<body>
<div class="layui-bg-gray" style="padding: 30px;">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">注册渠道</div>
                <div class="layui-card-body">
                    <!-- 测试表单 -->
                    <form id="channelRegisterForm" class="layui-form">
                        <div class='layui-form-item'>
                            <label class="layui-form-label">渠道名称：</label>
                            <div class="layui-input-block">
                                <input type="text" name="channelName" class="layui-input"/>
                            </div>
                        </div>
                        <div class='layui-form-item'>
                            <label class="layui-form-label">渠道编号：</label>
                            <div class="layui-input-block">
                                <input type="text" name="channelCode" class="layui-input"/>
                            </div>
                        </div>
                        <div class='layui-form-item'>
                            <label class="layui-form-label">渠道种类：</label>
                            <div class="layui-input-block">
                                <input type="text" name="categoryCode" class="layui-input"/>
                            </div>
                        </div>
                    </form>

                    <div class="layui-form-button" align="center">
                        <button id="register" class="layui-btn layui-btn-primary" onclick="submit()">注册</button>
                        <button id="reset" type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<!-- 在线引入 -->
<script src="http://libs.baidu.com/jquery/2.1.4/jquery.min.js"></script>
<script src="//unpkg.com/layui@2.6.8/dist/layui.js"></script>
<script type="text/javascript" src="./js/public.js"></script>
<script type="text/javascript" src="./js/channelRegister.js"></script>
</html>